﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Home" Codebehind="Home.aspx.cs" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<%@ Register src="Usercontrol/wuscSeguranca.ascx" tagname="wuscSeguranca" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Qvaliz.Syscad</title>
    <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" type="image/x-icon" href="imagens/favicon.ico" />

    <script type="text/javascript" language="JavaScript">    
        function resize_iframe()
        {

            var height=window.innerWidth;//Firefox
            if (document.body.clientHeight)
            {
            height=document.body.clientHeight;//IE
            }
            document.getElementById("quadroNavegacao").style.height=parseInt(height-
            document.getElementById("quadroNavegacao").offsetTop - 30) + "px";
        
            /*
            var lblPageName = document.getElementById('lbl_home_bread_crumb');
            var qdNaveg = document.getElementById("quadroNavegacao").src;
            lblPageName.innerHTML = '.:. '+ qdNaveg.replace('http://localhost:49568/Qvaliz.CTM/', '');
        */        
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="page">
            <div class="header">
                <div class="title">
                        <table cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td style="background-image: url('Imagens/banner_top.png'); background-repeat: no-repeat">
                                    <div style="float:left; margin-left:0px; width:960px; height:80px;" >
                                        <div style="float:left; margin-left:720px; margin-top:5px; " align="center">
                                            <asp:Image ID="imgDataBase" runat="server" 
                                                ImageUrl="~/Imagens/bt_database.png" /><br />
                                                <asp:Label ID="lblDataBase" runat="server" Text="Desv." Font-Size="XX-Small"></asp:Label>
                                        </div>                                        
                                        <div align="center" style="float:left; margin-left:10px; margin-top:5px;">
                                            <asp:Image ID="imgUser" runat="server" 
                                                ImageUrl="~/Imagens/bt_user.png" /><br />
                                                <asp:Label ID="lbl_login" runat="server" Text="Alexandre" Font-Size="XX-Small"></asp:Label>
                                        </div>
                                        
                                        <div align="center"  style="float:left; margin-left:10px; margin-top:5px; ">
                                            <asp:ImageButton ID="imgbLogout" runat="server" 
                                                ImageUrl="~/Imagens/bt_logout.png" onclick="imgbLogout_Click"/> <br />
                                                <asp:Label ID="lblLogout" runat="server" Text="Logout" Font-Size="XX-Small"></asp:Label>
                                        </div>
                                    </div>
                                    <%--<asp:Image ID="imgbBanner" runat="server" ImageUrl="~/Imagens/banner_top.png" />        --%>
                                </td>
                            </tr>
                        </table>
                        
                        <%--  <h1>
                            My ASP.NET Application
                        </h1>--%>
                </div>
                <div class="loginDisplay">
                        <%--<asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
                            <AnonymousTemplate>
                                [ <a href="~/Account/Login.aspx" ID="HeadLoginStatus" runat="server">Log In</a> ]
                            </AnonymousTemplate>
                            <LoggedInTemplate>
                                Welcome <span class="bold"><asp:LoginName ID="HeadLoginName" runat="server" /></span>!
                                [ <asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="Log Out" LogoutPageUrl="~/"/> ]
                            </LoggedInTemplate>
                        </asp:LoginView>--%>
                </div>
                <div class="clear hideSkiplink">
                        <%-- --%>
                        <asp:Label ID="lbl_home_bread_crumb" runat="server" 
                            Text=".:. " Font-Bold="True" 
                                    Font-Size="X-Small" ForeColor="Black" ></asp:Label>
                </div>
           </div>
           <div style="float:left; margin-left: -170px; width:160px">
                    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                    </telerik:RadScriptManager>
                    <uc1:wuscSeguranca ID="wuscSeguranca1" runat="server" />
                    <telerik:RadPanelBar ID="RadPanelBar1" Runat="server" Skin="Sunset" 
                        Width="160px" ExpandMode="SingleExpandedItem">
                        <Items>
                            <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/menu_tools.png" 
                                Owner="RadPanelBar1" Text="Cadastros">
                                <Items>
                                    <telerik:RadPanelItem runat="server" Owner="" Text="Academias" NavigateUrl="~/Cadastros/Academia.aspx" 
                                        Target="quadroNavegacao" ImageUrl="~/Imagens/sub_menu_indicadores.png"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Owner="" Text="Bairros" NavigateUrl="~/Cadastros/Bairro.aspx" 
                                        Target="quadroNavegacao" ImageUrl="~/Imagens/sub_menu_ata.png"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Owner="" Text="Bancos" NavigateUrl="~/Cadastros/Banco.aspx" 
                                        Target="quadroNavegacao" ImageUrl="~/Imagens/sub_menu_contadores.png"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Owner="" Text="Bolsas" NavigateUrl="~/Cadastros/Bolsa.aspx" 
                                        Target="quadroNavegacao" ImageUrl="~/Imagens/sub_menu_categorias.png"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Owner="" Text="Cidades" NavigateUrl="~/Cadastros/Cidade.aspx" 
                                        Target="quadroNavegacao" ImageUrl="~/Imagens/sub_menu_fornecedores.png"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_intervalos.png" 
                                        NavigateUrl="~/Cadastros/Convenio.aspx" Target="quadroNavegacao" Text="Convênios">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_modelos.png" 
                                        NavigateUrl="~/Cadastros/Cursos.aspx" Owner="" Target="quadroNavegacao" Text="Cursos">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_aeronave.png"
                                        NavigateUrl="~/Cadastros/Evento.aspx" Owner="" Target="quadroNavegacao" Text="Eventos" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_diretivas.png"
                                        NavigateUrl="~/Cadastros/Evento_modalidade.aspx" Owner="" Target="quadroNavegacao" Text="Eventos-Modalidade" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_aeronave.png"
                                        NavigateUrl="~/Cadastros/Forma_pagamento.aspx" Owner="" Target="quadroNavegacao" Text="Forma pagamento" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_contadores.png"
                                        NavigateUrl="~/Cadastros/Material.aspx" Owner="" Target="quadroNavegacao" Text="Materiais" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_diretivas.png"
                                        NavigateUrl="~/Cadastros/Material_modalidade.aspx" Owner="" Target="quadroNavegacao" Text="Materiais-Modalidade" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_rel_voo_import.png"
                                        NavigateUrl="~/Cadastros/Motivo_ingresso.aspx" Owner="" Target="quadroNavegacao" Text="Motivo ingresso" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_lancamento.png"
                                        NavigateUrl="~/Cadastros/Nivel.aspx" Owner="" Target="quadroNavegacao" Text="Níveis" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_inspecoes.png"
                                        NavigateUrl="~/Cadastros/Profissao.aspx" Owner="" Target="quadroNavegacao" Text="Profissões" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_lancamento.png"
                                        NavigateUrl="~/Cadastros/Sala.aspx" Owner="" Target="quadroNavegacao" Text="Salas" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_inspecoes.png"
                                        NavigateUrl="~/Cadastros/Pagamento_tipo.aspx" Owner="" Target="quadroNavegacao" Text="Tipos de Pagto" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_rel_voo_import.png"
                                        NavigateUrl="~/Cadastros/Turno.aspx" Owner="" Target="quadroNavegacao" Text="Horários" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_diretivas.png"
                                        NavigateUrl="~/Cadastros/Turma.aspx" Owner="" Target="quadroNavegacao" Text="Turmas" >
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                            <telerik:RadPanelItem runat="server" Text="Alunos" 
                                ImageUrl="~/Imagens/menu_plus.png">
                                <Items>                                    
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_aeronave.png" 
                                        NavigateUrl="~/Matriculas/Aluno.aspx" Owner="" Target="quadroNavegacao" Text="Alunos">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_evento_causa.png" 
                                        NavigateUrl="~/Matriculas/Aluno.aspx?opcaoPagina=excluidos" Owner="" Target="quadroNavegacao"  Text="Ex-alunos">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_aeronave.png" 
                                        NavigateUrl="~/Matriculas/Matricula.aspx" Owner="" Target="quadroNavegacao" Text="Matriculas">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_aeronave.png" 
                                        NavigateUrl="~/Matriculas/Pagamento.aspx" Owner="" Target="quadroNavegacao" Text="Pagamentos">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_equipamentos.png" 
                                        NavigateUrl="~/Matriculas/Pessoa.aspx" Owner="" Target="quadroNavegacao"  Text="Pessoas">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/Imagens/sub_menu_lancamento.png"
                                        NavigateUrl="~/Matriculas/Aluno_email.aspx" Owner="" Target="quadroNavegacao" Text="Relação e-mails" >
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                            <telerik:RadPanelItem runat="server" Text="Segurança" 
                                ImageUrl="~/Imagens/menu_engine.png">
                                <Items>                                    
                                    <telerik:RadPanelItem runat="server" 
                                        ImageUrl="~/Imagens/sub_menu_evento_causa.png" 
                                        NavigateUrl="~/Seguranca/Usuario.aspx" Owner="" 
                                        Target="quadroNavegacao" Text="Usuários">
                                    </telerik:RadPanelItem>                                    
                                    <telerik:RadPanelItem runat="server" NavigateUrl="~/Seguranca/Grupo.aspx" Visible="false"
                                        ImageUrl="~/Imagens/sub_menu_diretivas.png"
                                        Owner="" Target="quadroNavegacao" Text="Grupos">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" NavigateUrl="~/Seguranca/Interface.aspx"  Visible="false"
                                        ImageUrl="~/Imagens/sub_menu_rel_voo.png"
                                        Owner="" Target="quadroNavegacao" Text="Interfaces">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" NavigateUrl="~/Administracao/Parametro.aspx" 
                                        ImageUrl="~/Imagens/sub_menu_inspecoes.png"
                                        Owner="" Target="quadroNavegacao" Text="Parâmetros">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" NavigateUrl="~/Seguranca/Usuario_acesso.aspx" Visible="true"
                                        ImageUrl="~/Imagens/sub_menu_diretivas.png"
                                        Owner="" Target="quadroNavegacao" Text="Acessos dos Usuários">
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                            <telerik:RadPanelItem runat="server" Text="Relatórios" 
                                ImageUrl="~/Imagens/menu_flash.png" Owner="RadPanelBar1">
                                <Items>
                                    <telerik:RadPanelItem runat="server" Owner="" Text="Aniversariantes" NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=aniversariantes"
                                        ImageUrl="~/Imagens/sub_menu_intervalos.png"
                                        Target="quadroNavegacao">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Carnê Mensalidades" NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=carneMensalidades"
                                        ImageUrl="~/Imagens/sub_menu_diretivas.png"
                                        Target="quadroNavegacao">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Dados de Alunos" NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=dadosAlunos"
                                        ImageUrl="~/Imagens/sub_menu_evento_causa.png"
                                        Target="quadroNavegacao">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Etiquetas" NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=etiquetas"
                                        ImageUrl="~/Imagens/sub_menu_intervalos.png"
                                        Target="quadroNavegacao">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Entradas do dia"  NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=entradasDia"
                                        ImageUrl="~/Imagens/sub_menu_lancamento.png"
                                        Target="quadroNavegacao">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Ficha de Acomp." NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=fichaAcompanhamento"
                                        ImageUrl="~/Imagens/sub_menu_rel_voo_import.png" 
                                        Target="quadroNavegacao">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Ficha de Avaliação" NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=fichaAvaliacao"
                                        ImageUrl="~/Imagens/sub_menu_lancamento.png"
                                        Target="quadroNavegacao">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Ficha de Matrícula" NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=fichaMatricula"
                                        ImageUrl="~/Imagens/sub_menu_rel_voo_import.png" 
                                        Target="quadroNavegacao">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Ficha de Secretaria" NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=fichaSecretaria"
                                        ImageUrl="~/Imagens/sub_menu_rel_voo.png" 
                                        Target="quadroNavegacao">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Ficha de Presença" NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=fichaPresenca"
                                        ImageUrl="~/Imagens/sub_menu_lancamento.png" 
                                        Target="quadroNavegacao" >
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Situação das Mens." NavigateUrl="~/Relatorios/Relatorio.aspx?RELATORIO=situacaoMensalidade"
                                        ImageUrl="~/Imagens/sub_menu_lancamento.png"
                                        Target="quadroNavegacao">
                                    </telerik:RadPanelItem>                                    
                                </Items>
                            </telerik:RadPanelItem>
                        </Items>
                    </telerik:RadPanelBar>
                    
                </div>
           <div class="main">
                <%--<p>
                    Home page in here<br />
                    Home page in here<br />
                    Home page in here<br />
                    Home page in here<br />
                    Home page in here<br />
                    Home page in here<br />
                    Home page in here<br />
                    Home page in here<br />
                    Home page in here<br />
                    Home page in here<br />
                    Home page in here<br />
                    Home page in here<br />
                </p>--%>  
                <iframe id="quadroNavegacao" name="quadroNavegacao" src="Inicial.aspx" width="100%" frameborder="0" onload="resize_iframe()">                     
                </iframe>                          
            </div>

        </div>

        <div class="footer">
        
        <span style="font-family: Arial;"><span style="font-size: x-small;">©2011
        QVALIZ SYSCAD – Todos os direitos reservados <b> 
        <span style="color: rgb(255, 0, 0);">|</span></b>&nbsp;Telefone geral: +55 (31) 
        2516-3875</span></span>
    </div>
    </form>
    <p>
        
        
    </p>
</body>
</html>
